← Index
NYTProf Performance Profile   
For starman worker -M FindBin --max-requests 50 --workers 2 --user=kohadev-koha --group kohadev-koha --pid /var/run/koha/kohadev/plack.pid --daemonize --access-log /var/log/koha/kohadev/plack.log --error-log /var/log/koha/kohadev/plack-error.log -E deployment --socket /var/run/koha/kohadev/plack.sock /etc/koha/sites/kohadev/plack.psgi
  Run on Fri Jan 8 14:31:06 2016
Reported on Fri Jan 8 14:31:37 2016

Filename(eval 258)[/usr/share/perl5/Sub/Quote.pm:5]
StatementsExecuted 48 statements in 339µs
Eval Invoked At/usr/share/perl5/Sub/Quote.pm line 5
Sibling evals1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
202018174µs1.19msDBIx::Class::ResultSourceProxy::::add_unique_constraintDBIx::Class::ResultSourceProxy::add_unique_constraint
11119µs35µsSub::Quote::::BEGIN@4.264 Sub::Quote::BEGIN@4.264
1118µs8µsDBIx::Class::ResultSourceProxy::::BEGIN@10.265DBIx::Class::ResultSourceProxy::BEGIN@10.265
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1{
221µs my $_QUOTED = ${$_[1]->{"\$_QUOTED"}};
31200ns my $_UNQUOTED = ${$_[1]->{"\$_UNQUOTED"}};
42108µs252µs
# spent 35µs (19+16) within Sub::Quote::BEGIN@4.264 which was called: # once (19µs+16µs) by Sub::Quote::_clean_eval at line 4
no warnings 'closure';
# spent 35µs making 1 call to Sub::Quote::BEGIN@4.264 # spent 16µs making 1 call to warnings::unimport
5
# spent 1.19ms (174µs+1.02) within DBIx::Class::ResultSourceProxy::add_unique_constraint which was called 20 times, avg 60µs/call: # once (9µs+529µs) by Class::C3::Componentised::ensure_class_loaded at line 109 of Koha/Schema/Result/CourseReserve.pm # once (12µs+54µs) by Class::C3::Componentised::ensure_class_loaded at line 160 of Koha/Schema/Result/PrintersProfile.pm # once (12µs+35µs) by Class::C3::Componentised::ensure_class_loaded at line 409 of Koha/Schema/Result/Item.pm # once (8µs+38µs) by Class::C3::Componentised::ensure_class_loaded at line 56 of Sub/Defer.pm # once (11µs+35µs) by Class::C3::Componentised::ensure_class_loaded at line 73 of Koha/Schema/Result/AqordersTransfer.pm # once (12µs+32µs) by Class::C3::Componentised::ensure_class_loaded at line 597 of Koha/Schema/Result/Borrower.pm # once (11µs+27µs) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/Serialitem.pm # once (7µs+29µs) by Class::C3::Componentised::ensure_class_loaded at line 609 of Koha/Schema/Result/Borrower.pm # once (8µs+24µs) by Class::C3::Componentised::ensure_class_loaded at line 98 of Koha/Schema/Result/Localization.pm # once (8µs+23µs) by Class::C3::Componentised::ensure_class_loaded at line 154 of Koha/Schema/Result/Overduerule.pm # once (9µs+22µs) by Class::C3::Componentised::ensure_class_loaded at line 109 of Koha/Schema/Result/AdditionalField.pm # once (8µs+21µs) by Class::C3::Componentised::ensure_class_loaded at line 89 of Koha/Schema/Result/AdditionalFieldValue.pm # once (8µs+20µs) by Class::C3::Componentised::ensure_class_loaded at line 88 of Koha/Schema/Result/Subscriptionroutinglist.pm # once (7µs+20µs) by Class::C3::Componentised::ensure_class_loaded at line 180 of Koha/Schema/Result/Issue.pm # once (9µs+19µs) by Class::C3::Componentised::ensure_class_loaded at line 132 of Koha/Schema/Result/CourseItem.pm # once (8µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 93 of Koha/Schema/Result/ItemsLastBorrower.pm # once (8µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 80 of Koha/Schema/Result/MessageAttribute.pm # once (8µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 84 of Koha/Schema/Result/CreatorImage.pm # once (8µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 79 of Koha/Schema/Result/OaiSet.pm # once (4µs+17µs) by Class::C3::Componentised::ensure_class_loaded at line 85 of Koha/Schema/Result/AqordersTransfer.pm
sub DBIx::Class::ResultSourceProxy::add_unique_constraint {
6 $_QUOTED if 0;
7192µs $_UNQUOTED if 0;
8# BEGIN quote_sub PRELUDE
9package DBIx::Class::ResultSourceProxy;
10
# spent 8µs within DBIx::Class::ResultSourceProxy::BEGIN@10.265 which was called: # once (8µs+0s) by Sub::Quote::_clean_eval at line 15
BEGIN {
1112µs $^H = "132834";
121400ns ${^WARNING_BITS} = "UUUUUUUUUUUUUUUUU";
1316µs %^H = (
14 );
15173µs18µs}
# spent 8µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@10.265
16# END quote_sub PRELUDE
17 DBIx::Class::_ENV_::ASSERT_NO_INTERNAL_INDIRECT_CALLS and DBIx::Class::_Util::fail_on_internal_call;
1819141µs38490µs shift->result_source_instance->add_unique_constraint (@_);
# spent 325µs making 19 calls to DBIx::Class::ResultSource::add_unique_constraint, avg 17µs/call # spent 20µs making 2 calls to Koha::Schema::Result::Borrower::result_source_instance, avg 10µs/call # spent 19µs making 1 call to Koha::Schema::Result::CourseReserve::result_source_instance # spent 19µs making 2 calls to Koha::Schema::Result::AqordersTransfer::result_source_instance, avg 9µs/call # spent 13µs making 1 call to Koha::Schema::Result::Item::result_source_instance # spent 13µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance # spent 8µs making 1 call to Koha::Schema::Result::Overduerule::result_source_instance # spent 8µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::CourseItem::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Issue::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::MessageAttribute::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Localization::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::ItemsLastBorrower::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::Serialitem::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::CreatorImage::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::OaiSet::result_source_instance
19 }
2012µs $$_UNQUOTED = \&DBIx::Class::ResultSourceProxy::add_unique_constraint
21}
2214µs1;
23
24;